hvm/svm: Enable Breakpoint events
authorAlexandru Isaila <aisaila@bitdefender.com>
Thu, 15 Feb 2018 10:22:24 +0000 (12:22 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Feb 2018 14:01:24 +0000 (14:01 +0000)
commit093eff713cc5a907f3e62f853051ac86b598cbf9
tree172bc72feabc92814dc097ba108377fb967102b9
parent422588e88511d17984544c0f017a927de3315290
hvm/svm: Enable Breakpoint events

This commit implements the breakpoint events for svm.
At the moment, the Breakpoint vmexit is not forwarded to the monitor
layer.
This patch adds the hvm_monitor_debug call to the VMEXIT_EXCEPTION_BP.
Also, the Software Breakpoint cap is moved from the Intel arch to the
common part of the code.

Signed-off-by: Alexandru Isaila <aisaila@bitdefender.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/hvm/monitor.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/monitor.h